package co.fitstart.admin.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.demo2do.core.persistence.annotation.Dynamic;

import co.fitstart.admin.dao.UserAddressDao;
import co.fitstart.admin.service.UserAddressService;
import co.fitstart.entity.user.User;
import co.fitstart.entity.user.UserAddress;

@Service("userAddressService")
public class UserAddressServiceImpl implements UserAddressService{
    
    @Dynamic
    private UserAddressDao userAddressDao;

	@Override
	public List<UserAddress> listUserAddress(User user) {
		return userAddressDao.list(user);
	}

}
